package mybatis.service;

import com.github.pagehelper.PageInfo;
import mybatis.entity.User;

/**
 * Author：汤小洋
 * Date：2023-09-20 11:34
 * Description：<描述>
 */
public interface UserService {

    void register(User user) throws ClassNotFoundException;

    User login(String username,String password);

    PageInfo<User> findPage(int pageNum, int pageSize);

}
